package org.jiangy.usercenter.entity;

import jakarta.persistence.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 公司员工
 * <a href="https://blog.csdn.net/XiongChuMei/article/details/103955124">取消外键设置</a>
 * <p>创建时间: 2024/8/13 </p>
 *
 * @author <a href="mailto:jiangliu0316@outlook.com" rel="nofollow">蒋勇</a>
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Entity
public class Staff extends User {
    private String realName;
    @Column(name = "is_super_admin")
    private boolean superAdmin;
}
